<#-- 导入变量定义文件 -->
<#include "../template/include/assign.ftl">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>意见反馈管理</title>
<#-- 导入静态资源文件 -->
<#include "../template/include/source.ftl">
<link href="${web_static}/admin/css/list.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	.page{
		float:right;
		padding-top: 15px;
		margin-right: 15px;
	}
</style>
</head>
<#include "../template/template_listPage.ftl">
<script type="text/javascript">
	$().ready( function() {
		<#if actionErrors??&&(actionErrors?size > 0)>
			$.dialog({type: "warn", content: "<#list errorMessages as list>${list}<br></#list>",
			 modal: true, autoCloseTime: 3000});
		</#if>
	
	
		$('.follow-cursor').poshytip({
                    className: 'tip-darkgray',
	                followCursor: true,
	                slide: false
                });
	
	});


</script>
</head>
<body class="list">
	<div class="body">
		<div class="listBar">
			<h1><span class="icon">&nbsp;</span>意见反馈管理&nbsp;<span class="pageInfo"></span></h1>
		</div>
		<@pageList page=(page!) id="listForm" action="${web_base}/go/customer_feedback!list.htm" query="customerFeedbackInfoQuery" isEmpty=true>
			<div class="operateBar">
				<label>查找:</label>
				客户编号:
				<input type="text" name="customerFeedbackInfoQuery.customerId" value="${(customerFeedbackInfoQuery.customerId)!}">
				主题:
				<input type="text" name="customerFeedbackInfoQuery.feedbackTitle" value="${(customerFeedbackInfoQuery.feedbackTitle)!}">
				反馈内容：
				<input type="text" name="customerFeedbackInfoQuery.feedbackContent" value="${(customerFeedbackInfoQuery.feedbackContent)!}">
				<input type="submit" id="searchButton" class="searchButton" value="" />
			</div>
			<table class="listTable">
				<tr>
					<th width="120">
						<span class="" name="id">客户编号</span>
					</th>
					<th>
						<span class="" name="feedbackTitle">主题</span>
					</th>
					<th>
						<span class="" name="feedbackTime">反馈时间</span>
					</th>
					<th>
						<span class="" name="feedbackContent">反馈内容</span>
					</th>
				</tr>
				<#if  page??&&page.list??&&(page.list?size gt 0) >			
				<#list page.list as obj>
					<tr>
						<td width="120">
							${(obj.customerId)!}
						</td>
						<td>
							${(obj.feedbackTitle)!}
						</td>
						<td>
							<#if obj.feedbackTime?exists&&obj.feedbackTime?is_date>
								${(obj.feedbackTime)?string("yyyy-MM-dd HH:mm:ss")}
							</#if>
						</td>
						<td>
							<a class="follow-cursor" title="${(obj.feedbackContent)!}" style="cursor: pointer;">
	                             <#if obj.feedbackContent??>
		                            <#--//截取输出文字的长度-->
	                                    <#if obj.feedbackContent?length lte 10 >
	                                   		${(obj.feedbackContent)!}
	                                    <#else>
	                                    	${obj.feedbackContent?substring(0,10)}...
	                                    </#if>
		                            </#if>
			                        </a>
						</td>
					</tr>
				</#list>
				<#else>
				    <tr><td colspan="9">
					<div class="noRecord">
						没有找到任何记录!
					</div>	
					</td>
					</tr>
				</#if>	
			</table>
		</@pageList>
	</div>
</body>
</html>